package com.bwhx.eruler.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.Menus;
import com.bwhx.eruler.dao.MenusDao;
import com.bwhx.eruler.service.MenusService;

/**
 * @Description:
 */
@Service
public class MenusServiceImpl implements MenusService {
	@Autowired 
	MenusDao menusDao;

	@Override
	public List<Menus> listAll(Integer mType) {
		return menusDao.listAll(mType);
	}

	@Override
	public List<Menus> listByStaff(List<String> idsList, Integer mType) {
		return menusDao.listByStaff(idsList,mType);
	}

	
	

}
